Upgrade grunt-contrib-less to 2.1.0 and semver to 5.7.2 to fix CVEs#942
Draft
Copilot wants to merge 2 commits into
Draft
Upgrade grunt-contrib-less to 2.1.0 and semver to 5.7.2 to fix CVEs#942Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…21-43138 and CVE-2022-25883 Co-authored-by: VZaphod <210490533+VZaphod@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix vulnerabilities in grunt-contrib-less 2.0.0
Upgrade grunt-contrib-less to 2.1.0 and semver to 5.7.2 to fix CVEs
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses two known vulnerabilities in transitive dependencies of
grunt-contrib-less@2.0.0:Changes
grunt-contrib-less^2.0.0→^2.1.0grunt-contrib-less(2.1.0),async(3.2.6),chalk(4.1.2),semver(5.7.2), and their transitive depsOriginal prompt
This section details on the original issue you should resolve
<issue_title>grunt-contrib-less-2.0.0.tgz: 2 vulnerabilities (highest severity is: 7.8) reachable</issue_title>
<issue_description>
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907
Vulnerabilities
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
Vulnerable Library - semver-5.7.1.tgz
The semantic version parser used by npm.
Library home page: https://registry.npmjs.org/semver/-/semver-5.7.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
Found in HEAD commit: 7c898c0839317ea7989d15935972aa4dc520b907
Found in base branches: develop, master
Reachability Analysis
This vulnerability is potentially reachable
Vulnerability Details
Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.
Mend Note: The description of this vulnerability differs from MITRE.
Publish Date: 2023-06-21
URL: CVE-2022-25883
Threat Assessment
Exploit Maturity: Proof of concept
EPSS: 0.6%
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: GHSA-c2qf-rxjj-qqgw
Release Date: 2023-06-21
Fix Resolution: semver - 5.7.2,6.3.1,7.5.2;org.webjars.npm:semver:7.5.2
<...
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.